home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / pc_board / pcb2actb.zip / PCB2ACT.TXT < prev    next >
Text File  |  1991-09-09  |  9KB  |  189 lines

  1.                     PCBoard Second Account (PCB2ACT)
  2.                     copyright 1991 by Dalaye Gabriel
  3.                     Polymath One BBS, of Trenton, NJ
  4.                                           
  5.  
  6.  Seamless interface to allow leaving PCBoard, loading a second copy of
  7.  PCBoard, with the proper User info being loaded without User input.
  8.  
  9.  Method:
  10.  Read PCBoard.Sys file, creating a new PCBoard.Sys in new sub-dir with
  11.  all changes needed to properly access a second (and different) USERS
  12.  file than the first PCBoard.Sys refers to.  This requires accessing the
  13.  following files from area leaving: PCBoard.Sys, Users
  14.  And accessing the following files for the new PCBoard area: PCBoard.Sys,
  15.  Users, Pwrd
  16.  It will write a new BAT file, PCB2ACT$.BAT called from the first
  17.  account (from the PCB written DOOR.BAT)
  18.  
  19.     My BBS has considerable adult and non-adult traffic of Users, and
  20.  I found it best to entirely segregate the two areas.  I'm aware that
  21.  many merely open a second BBS.  Meanwhile, any users visiting the
  22.  adult conferences wish to use aliases to leave messages.  I tried the
  23.  Incognito Door - a good idea, but, I wasn't happy with anything writing
  24.  to my Users file.  Meanwhile, I found it nice to segregate credits of
  25.  Uploads/Downloads to a users record from the 2 areas, and seriously
  26.  considered doing what so many people do: open a second, adults-only
  27.  BBS, leaving the first alone.  I considered this unacceptable, as it
  28.  would mean more work for the user to visit both, and tie up all my
  29.  equipment separately, stop node chats, and other such.
  30.     So, I found it best to create a new sub-directory, one for each
  31.  node on the system, and setup a separate BBS entirely, but, to be
  32.  accessed as a door from the first BBS.  This wastes very little disk
  33.  space, as quite a few files can be shared with the first.
  34.     The problem with initially calling the second board from the first?
  35.  Users hated the idea of having to logon a second time, and I hated the
  36.  maintenance headache of seeing who opened a second account in the
  37.  second board loaded, as, when it prompts for a name, more than 1 user
  38.  chose to open new additional accounts for himself.  Major headache as
  39.  the number of users grew.
  40.  
  41.     Solution:
  42.     PCBoard Second Account!  It lets you set up a second BBS as a door
  43.  from the first BBS, loading all user information needed with the
  44.  information you configure within the PCB2ACT.CFG file.
  45.  PCB2ACT.CFG must be in the sub-directory that PCB2ACT is called from.
  46.  I'll assume you will load an Adults sub-board as I do, so a logical
  47.  place would be C:\PCB\ADULT for the node 1 sub-board, and the call in
  48.  the ADULTS file created to start the Door will be C:\UTIL\PCB2ACT
  49.  
  50.     This text is not complete on setting up doors, or a copy of PCBoard.
  51.  It is assumed you have purchased PCBoard and have all needed docs on
  52.  proper BAT files, and the use of PCBSetup.exe.
  53.  
  54.     This is only a "quickie" I initially did not plan to release outside
  55.  of my BBS, but as someone asked for a copy, I felt perhaps it may help
  56.  quite a few other PCBoard Sysops.
  57.     This is a beta test version, and bugs are expected, though I am
  58.  confident it cannot corrupt your system in any manner, though no
  59.  warranty is expressed or implied against it not performing as you
  60.  expect in your particular installation.
  61.     I included the idea of registration in this utility only so I can
  62.  see how much it appeals to others.  The first few Sysops choosing to
  63.  use this Beta version will receive registration numbers on request,
  64.  no fee expected.  All I ask is your comments and suggestions prior to
  65.  release as a full release version.
  66.  
  67.     The non-registered version is not entirely seamless, as it sends
  68.  out a short introduction that this program is running, and states it
  69.  is unregistered.  The only advantage of registration is removal of
  70.  that notice to then only state that a second account is being loaded
  71.  on your BBS (1 very short sentence, with no mention of this program,
  72.  or my BBS, etc).  For this minor convenience, I would like to ask for
  73.  $10 to register this program.  Just let me know what you wish the
  74.  1 line in the PCB2ACT.CFG to read as your BBS (up to 55 characters),
  75.  and you will receive the proper registration number.  You can get that
  76.  number on Polymath One BBS if you wish to save time, or it will be
  77.  mailed to you.
  78.  
  79.     This program requires access to BRUN45.EXE, the "patched" version,
  80.  so your users are not disconnected.
  81.  
  82.  Security:
  83.  It does not allow access by any user not entered by the Sysop.  The
  84.  Sysop must enter any alias, or name used in Second Account (even if
  85.  the same name) as the first 25 bytes of the Sysop maintained Comment 2
  86.  of the Users record.
  87.  
  88. September 10, 1991 - ver.1.1 beta
  89.  Major change in error handling, to insure all errors are trapped properly
  90.  to be located in source code, and any errors occurring will properly exit
  91.  and reload the first account.
  92.  A locking parameter is also now expected in the PCB2ACT.CFG file, to 
  93.  prevent anyone barred from the second PCB account from entering.
  94.  
  95.  
  96.  Files:
  97.  
  98.  ADULTS   - File to be opened as a Door by PCBoard, it must be defined
  99.           in Doors.Lst
  100.   NOTE: file opened NOGOOD is not in use in this new version, as a new
  101.         method of locking is to be incorporated, and appears to be
  102.         easier to manage from the Sysop's standpoint - this should not
  103.         pose any problem at this time, only the inability to "lock out"
  104.         users at this time temporarily
  105.  
  106. Contents of ADULTS
  107.   ; everything to right of the ";" and it MUST not be used, here just to 
  108.   ; simplify commenting the file
  109.  
  110. n:                            ; go to drive of second PCBoard area
  111. cd\pcb\adult                  ; and to proper sub-directory
  112. if exist pcb2act$.bat del pcb2act$.bat; security reasons!
  113. if exist endpcb del endpcb            ; standard for a PCB calling BAT file
  114. if exist newguy del newguy            ; necessary to verify new User going in
  115. if exist nogood del nogood            ; to clear an old error
  116. n:\util\pcb2act                       ; to call the program from wherever
  117. if exist newguy goto end ; use ONLY if you do not want new guys entering
  118. if exist nogood goto end ; use to go to 1st account if any error found
  119. call pcb2act$.bat             ; call up PCBoard for Second Account
  120. :end                          ; the start of reloading the first account
  121. copy pcbsys.hld pcboard.sys ; load a BLANK PCBoard.sys for security reasons
  122. v:
  123. cd\pcb
  124. board
  125.                                                                            
  126.     Notice that if PCB2ACT fails to properly build the BAT file to load the
  127.  second PCB account, it will definitely return to the first account.  Also,
  128.  you may want to include the line to copy a "dummy" PCBoard.sys (included)
  129.  prior to reloading the first account in case there is an error of any sort,
  130.  and the PCBoard.sys in place has Sysop access!  This insures no one gets
  131.  accidental Sysop access, which could occur if the system had a boot in the 
  132.  middle of the session.  This same situation is true of any door, though 
  133.  other doors don't read the PCBoard.sys.  If you have a first STARTUP.BAT
  134.  that runs after the AUTOEXEC.BAT upon boot, you may like to use such a line
  135.  to clear the 2nd account PCBoard.sys and any PCBoard.sys accessible even in
  136.  a first account where loss of carrier detect will not clear it, as, if you 
  137.  allow Local logons this is possible also.
  138.  
  139.     That is basically what is required in the Door calling the second
  140.  PCBoard to load.  You will have to include all the other checks used
  141.  as necessary, if you plan to open doors, run an event, etc. from the
  142.  second PCBoard loaded.
  143.  
  144.     All other necessary files are included in the package.  The PCB2ACT$.BAT
  145.  is built by PCB2ACT.EXE upon successful completion of an allowed User
  146.  check, and is included only for your information for clarity.  Use of this
  147.  insures an error at runtime means no Call can occur, insuring a return to
  148.  the first PCB account.
  149.  
  150.  Errors:
  151.  
  152.     The 2 potential errors are either that the BRUN45.EXE cannot be
  153.  located in the path, or the PCB2ACT.CFG file has not enough lines.
  154.  Be sure the filenames in the PCB2ACT.CFG are the same filenames
  155.  defined in your PCBSetup for the PCBoard.sys, Users, and Pwrd files.
  156.     No comments are allowed in the PCB2ACT.CFG file, and they are
  157.  shown here only to help you get started, be sure to remove comments.
  158.  
  159.              Register Pcboard Second Account ver.1.0 (beta)
  160.  
  161. Name:
  162.  
  163. Address:
  164.  
  165. Address:
  166.  
  167. City:                     State:          Zip:
  168.  
  169. BBS name:                            BBS Phone:
  170.  
  171.  
  172. Is the Purpose of this for Adult Access, or for Other Private Board?
  173.  
  174. BBS Name to be dsiplayed on entry to registered version (max 55 char):
  175.  
  176.  
  177. An account will be opened for you on Polymath One BBS, please enter
  178. the password you wish used at this time.  Please use a unique password
  179. for access to our BBS, a strict rule all Sysops should follow.
  180. Password:
  181.  
  182.    Please make any check or money order out to me, Dalaye Gabriel, for
  183.  the small $10 registration.
  184.                      Dalaye Gabriel
  185.                      Polymath One BBS
  186.                      520 Liberty St
  187.                      Trenton, NJ 08611
  188.  Node 1: (609) 392-5953 (CSP)      Node 2: (609) 394-5414 (HST)
  189.